package cn.site.modules.sys.web;

import cn.site.core.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 日志Controller
 * @author ZGJ
 */
@Controller
@RequestMapping(value = "/sys/log")
public class LogController extends BaseController {

    @RequestMapping(value = {"list", ""})
    public String list(@RequestParam Map<String, Object> paramMap, HttpServletRequest request, HttpServletResponse response, Model model) {
        /*Page<Log> page = logService.find(new Page<Log>(request, response), paramMap);
        model.addAttribute("page", page);
        model.addAllAttributes(paramMap);*/
        return "modules/sys/logList";
    }
}
